package cn.wolfcode.qo;

import cn.wolfcode.domain.Business;
import cn.wolfcode.domain.SystemDictionaryItem;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class AppointmentQueryObject extends QueryObject {


    /**
     * 预约单流水号
     */
    private String ano;

    /**
     * 业务大类的id
     */
    private Long categoryId;

    /**
     * 预约单状态 （预约中/履行中/消费中/归档/废弃单）
     */
    private Integer statusId;

    /**
     * 预约门店
     */
    private Long businessId;

    /**
     * 联系人名称
     */
    private String contact_name;
    /**
     * 联系电话
     */
    private String contact_tel;
    /**
     * 预约时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date min_appointment_time;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date man_appointment_time;


}
